package com.ysxsoft.wdg.bean.response;

import java.util.List;

public class TopAdResponse {

    /**
     * code : 200
     * ms : 成功
     * data : [{"id":2,"pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png","content":"<p>sfdsfdsafsdf<\/p>","addtime":1542003838,"goodsid":20,"type":0},{"id":3,"pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181112/423023ac134cdab25d08348b7197bb45.jpg","content":"<p>adsfadsdsgsgadsg<\/p>","addtime":1542004493,"goodsid":27,"type":0},{"id":4,"pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181112/414d9b1fb598f41328f1f07f361ed95d.jpg","content":"<p>sdfsdfsadfsdfsd<\/p>","addtime":1542004508,"goodsid":20,"type":0}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * pic : http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png
         * content : <p>sfdsfdsafsdf</p>
         * addtime : 1542003838
         * goodsid : 20
         * type : 0
         */

        private int id;
        private String pic;
        private String content;
        private int addtime;
        private int goodsid;
        private int type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getAddtime() {
            return addtime;
        }

        public void setAddtime(int addtime) {
            this.addtime = addtime;
        }

        public int getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(int goodsid) {
            this.goodsid = goodsid;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
